import wx


def call_after(fn):
    def _wrapper(*args, **kwargs):
        return wx.CallAfter(fn, *args, **kwargs)

    return _wrapper
